package com.my.blogapi.service;

import com.my.blogapi.dao.pojo.SysUser;
import com.my.blogapi.vo.UserVo;
import com.my.blogapi.vo.param.Result;

public interface SysUserService {
    SysUser findSysUserByAuthorId(Long AuthorId);
    UserVo findSysUserVoByAuthorId(Long AuthorId);

    SysUser findSysUser(String account, String password);

    SysUser findSysUserByToken(String token);

    SysUser findSysUserByAccount(String account);

    Result save(SysUser sysUser);
}
